/*! \file Window.cpp
 *	\brief 
 *
 *	created:	2010/03/11
 *	created:	11:3:2010   1:25
 *	filename: 	c:\src\tactics-engine\libs\app_win\Window.cpp
 *	file path:	c:\src\tactics-engine\libs\app_win
 *	file base:	Window
 *	file ext:	cpp
 *	author:		Vitalii Trubchaninov
 *				venngraydog@gmail.com
 */

#include "app_win/stdafx.h"
#include "app_win/Window.h"

#include "app_win/WindowImpl.h"

namespace tt{
namespace app_win{

Window::Window( ScopedPtr<app::WindowImpl>& impl )
: Base(impl)
{

}

Window::~Window()
{

}

HWND Window::hWnd() const
{
	return winImpl().hWnd();
}

//////////////////////////////////////////////////////////////////////////
WindowImpl& Window::winImpl() const
{
	return *static_cast<WindowImpl*>( getImpl() );
}

} //namespace app_win
} //namespace tt
